//------------------------------------------------------------------------------
//	file midi_const.h
//	brief
//		Display all midi port information
//
//	$Id: midi_const.h 278 2014-04-18 17:43:00Z ac.verbeck@gmail.com $
//------------------------------------------------------------------------------

//------------------------------------------------------------------------------
//	Copyright and Disclaimer Notice
//
//	Copyright (c) 2014 A.C. Verbeck
//
//	This file is part of winMIDI: windows MIDI -- a direct MIDI interface
//
//	winMIDI is free software: you can redistribute it and/or modify
//	it under the terms of the GNU General Public License as published by
//	the Free Software Foundation, either version 3 of the License, or
//	(at your option) any later version.
//
//	winMIDI is distributed in the hope that it will be useful,
//	but WITHOUT ANY WARRANTY; without even the implied warranty of
//	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//	GNU General Public License for more details.
//
//	You should have received a copy of the GNU General Public License
//	along with winMIDI. If not, see <http://www.gnu.org/licenses/>.
//
//------------------------------------------------------------------------------

//
//	MIDI channel voice messages
//
#define NOTE_OFF					0x80
#define NOTE_ON						0x90
#define POLY_PRESSURE				0xA0
#define CONTINUOUS_CONTROLLER		0xB0
#define PROGRAM_CHANGE				0xC0
#define CHANNEL_PRESSURE			0xD0
#define PITCH_BEND					0xE0

//
//	MIDI system common messages
//
#define SYSTEM_EXCLUSIVE			0xF0
#define MIDI_TIME_CODE				0xF1
#define SONG_POSITION_POINTER		0xF2
#define SONG_SELECT					0xF3
//	Undefined						0xF4	(reserved)
//	Undefined						0xF5	(reserved)
#define TUNE_REQUEST				0xF6
#define END_OF_EXCLUSIVE			0xF7

//
//	MIDI system realtime messages
//
#define TIMING_CLOCK				0xF8
//	Undefined						0xF9	(reserved)
#define START						0xFA
#define CONTINUE					0xFB
#define STOP						0xFC
//	Undefined						0xFD	(reserved)
#define ACTIVE_SENSING				0xFE
#define SYSTEM_RESET				0xFF

//
//	End: midi_const.h
//